#!/usr/bin/python

import commands
command="packmol < packmol.inp"
commands.getoutput(command)
length=raw_input("What is the length of the box in nm?")
command = "editconf -box "+length+" "+length+" "+length+" -f conf.pdb -o conf.gro"
commands.getoutput(command)